package com.lynn.baseproject.model

import android.annotation.SuppressLint
import com.lynn.baseproject.entity.BiYingEntity
import com.lynn.baseproject.http.MainApi
import com.lynn.lib_base.ui.BaseModel
import io.reactivex.rxjava3.core.ObservableTransformer

/**
 * @description: 业务逻辑处理，用于对数据进行处理
 * @author: bailing
 * @datetime: 2025/5/28 11:30
 **/
class MainModel : BaseModel<MainApi>("https://cn.bing.com",MainApi::class.java) {


    @SuppressLint("CheckResult")
    fun getBiYing(composer: ObservableTransformer<BiYingEntity, BiYingEntity>) {
        apiService?.biying()?.compose(composer)
    }
}